/* 每个css中默认要加的部分 */
* {
    margin: 0;
    padding: 0;
    font-family: "微软雅黑";
}

li {
    list-style: none;
}

a {
    text-decoration: none;
}

/* 清除浮动 */
.clearfix:before,
.clearfix:after {
    content: "";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* 所有居中的模块都可以调用这个类 */
.w {
    width: 1200px;
    margin: auto;
}

body {
    background-color: #f3f5f7;
}

.header {
    height: 42px;
    margin: 30px auto;
    /* background-color: pink; */
}

/* logo部分 */
.logo {
    float: left;
    width: 197px;
    height: 42px;
}

/* nav导航栏部分 */
.nav {
    float: left;
    margin-left: 60px;
}

.nav ul li {
    float: left;
}

.nav ul li a {
    display: block;
    height: 42px;
    padding: 0 10px;
    /* 指定文字高度和盒子高度一样可以使文字居中对齐 */
    line-height: 42px;
    font-size: 16px;
    color: #050505;

}

.nav ul li a:hover {
    border-bottom: 2px solid #00a4ff;
    color: #00a4ff;
}

/* search搜索栏部分 */
.search {
    float: left;
    width: 411px;
    height: 42px;
    margin-left: 70px;
    /* background-color: skyblue; */

}

/* 两个表单都属于行内块元素，之间存在缝隙，需要改为浮动元素（浮动元素之间没有缝隙）  */
.search input {
    float: left;
    /* 42减去边框2 */
    height: 40px;
    /* 360减去padding-left 15 */
    width: 345px;
    border: 1px solid #00a4ff;
    border-right: none;
    font-size: 14px;
    color: #bfbfbf;
    padding-left: 15px;

}

.search button {
    float: left;
    width: 50px;
    height: 42px;
    /* button都有一个默认的边框需要我们手动修改 */
    border: 0;
    background: url(./images/fa-search.png);
}

/* 用户模块 */
.user {
    float: right;
    margin-right: 30px;
    line-height: 42px;
    font-size: 14px;
    color: #c2c4c5;
}

.banner {
    height: 421px;
    background-color: #1c036c;
}

.banner .w {
    height: 421px;
    background: url(./images/banner.png) no-repeat top center;
}

/* 侧导航栏部分 */
.subnav {
    float: left;
    height: 421px;
    width: 190px;
    background-color: rgba(0, 0, 0, .3);
}

.subnav ul li {
    height: 45px;
    line-height: 45px;
    padding: 0 20px;
}

.subnav ul li a {
    font-size: 14px;
    color: #ffffff;
}

.subnav ul li a:hover {
    color: #00b4ff;
}

.subnav ul li a span {
    float: right;
}

/* 课程表模块 */
.course {
    float: right;
    width: 230px;
    height: 300px;
    /* 浮动的盒子不会有外边距合并的问题 */
    margin-top: 50px;
    background-color: #fff;
}

.course h2 {
    height: 48px;
    line-height: 48px;
    text-align: center;
    font-size: 18px;
    color: #fff;
    background-color: #9bceea;
}

.course .bd {
    padding: 0 20px;
}

.bd li {
    padding: 14px 0;
    border-bottom: 1px solid #ccc;
}

.bd li h4 {
    font-size: 16px;
    color: #4e4e4e;
}

.bd li p {
    font-size: 12px;
    color: #a5a5a5;
}

.bd .more {
    display: block;
    /* 垂直居中 */
    height: 40px;
    line-height: 40px;
    /* 水平居中 */
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    margin-top: 5px;
    border: 1px solid #22b0ff;
    color: #00a4ff;
}

/* 精品推荐模块 */
.goods {
    height: 60px;
    background-color: #fff;
    margin-top: 10px;
    line-height: 60px;
    box-shadow: 0px 2px 3px 3px rgba(0, 0, 0, .1);
}

.goods h3 {
    float: left;
    margin-left: 30px;
    font-size: 16px;
    color: #00a4ff;
}

.goods ul {
    float: left;
    margin-left: 30px;
}

.goods ul li {
    float: left;
}

.goods ul li a {
    padding: 0 35px;
    font-size: 16px;
    color: black;
    border-left: 1px solid #bfbfbf;
}


.goods .mod {
    float: right;
    font-size: 14px;
    margin-right: 30px;
    color: #8dcbff;
}

.box {
    margin-top: 30px;
}

.box-head {
    height: 45px;
}

.box-head h3 {
    float: left;
    font-size: 20px;
    color: #494949;
    font-weight: 400;
}

.box-head a {
    float: right;
    font-size: 12px;
    color: #a5a5a5;
    margin-top: 10px;
    margin-right: 30px;
}

.box-body ul {
    width: 1225px;
}

.box-body ul li {
    float: left;
    width: 228px;
    height: 270px;
    background-color: #fff;
    margin-right: 15px;
    margin-bottom: 15px;
}

.box-body ul li:hover {
    box-shadow: 3px 3px 6px 2px rgba(0, 0, 0, .3);
}

.box-body ul li img {
    width: 100%;
}

.box-body ul li h4 {
    font-size: 14px;
    margin: 25px 20px 20px 25px;
    font-weight: 400;
}

.box-body .info {
    font-size: 12px;
    color: #a5a5a5;
    margin: 0px 20px 0px 25px;
}

.box-body .info span {
    color: #ff7c2d;
}

/* 五、编程入门begin核心内容区域 */
.begin {
    margin-top: 40px;
}

.begin-head {
    height: 40px;
}

.begin-head h3 {
    float: left;
    font-size: 20px;
    font-weight: 400;
}

.begin-head ul li a {
    float: left;
    padding: 0px 33px;
}

.begin-head ul li a:hover {
    color: #86c7fc;
}

.begin-head .juli {
    padding-left: 350px;
}

.begin-head .demo {
    float: right;
}

.begin-head .demo:hover {
    color: #86c7fc;
}

.begin-body .php1 {
    float: left;
    width: 229px;
    height: 392px;
}

.begin-body .php2 {
    float: right;
    width: 958px;
    height: 100px;
}

.begin-body ul {
    width: 1225px;
}

.begin-body ul li {
    float: left;
    width: 100%;
    width: 228px;
    height: 270px;
    background-color: #fff;
    margin-left: 15px;
    margin-top: 23px;
}

.begin-body ul li:hover {
    box-shadow: 3px 3px 6px 2px rgba(0, 0, 0, .3);
}

.begin-body ul li img {
    width: 100%;
}

.begin-body ul li h4 {
    font-size: 14px;
    margin: 25px 20px 20px 25px;
    font-weight: 400;
}

.begin-body .info {
    font-size: 12px;
    color: #a5a5a5;
    margin: 0px 20px 0px 25px;
}

.begin-body .info span {
    color: #ff7c2d;
}

/* 六、数据分析师核心内容区域 */
.analysis {
    margin-top: 40px;
}

.analysis-head {
    height: 40px;
}

.analysis-head h3 {
    float: left;
    font-size: 20px;
    font-weight: 400;
}

.analysis-head ul li a {
    float: left;
    padding: 0px 33px;
}

.analysis-head ul li a:hover {
    color: #86c7fc;
}

.analysis-head .juli {
    padding-left: 350px;
}

.analysis-head .demo {
    float: right;
}

.analysis-head .demo:hover {
    color: #86c7fc;
}

.analysis-body .php1 {
    float: left;
    width: 229px;
    height: 392px;
}

.analysis-body .php2 {
    float: right;
    width: 958px;
    height: 100px;
}

.analysis-body ul {
    width: 1225px;
}

.analysis-body ul li {
    float: left;
    width: 228px;
    height: 270px;
    background-color: #fff;
    margin-left: 15px;
    margin-top: 23px;
}

.analysis-body ul li:hover {
    box-shadow: 3px 3px 6px 2px rgba(0, 0, 0, .3);
}

.analysis-body ul li img {
    width: 100%;
}


.analysis-body ul li h4 {
    font-size: 14px;
    margin: 25px 20px 20px 25px;
    font-weight: 400;
}

.analysis-body .info {
    font-size: 12px;
    color: #a5a5a5;
    margin: 0px 20px 0px 25px;
}

.analysis-body .info span {
    color: #ff7c2d;
}

.footer {
    height: 415px;
    background-color: #fff;
    margin-top: 40px;
}

.footer .footer-banner {
    /* 如果是margin-top会发生外边距合并问题，padding不会发生这个问题 */
    padding-top: 35px;
}

.copyright {
    float: left;
    margin-left: 20px;
}

.copyright p {
    margin-top: 22px;
    font-size: 12px;
    font-weight: 200;
}

.copyright a {
    display: inline-block;
    margin-top: 15px;
    width: 120px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    border: 1px solid #00a4ff;
    color: #00a4ff;
}

.link {
    float: right;
}

.link dl {
    float: right;
    margin-left: 100px;
}

.link dt {
    font-size: 16px;
    color: #333;
    margin-bottom: 15px;
}

.link dd {
    font-size: 12px;
    color: #333;
}